from django.contrib import admin

from guardian.admin import GuardedModelAdmin
from image_cropping.admin import ImageCroppingMixin

from .models import Profile

class ProfileAdmin(ImageCroppingMixin, GuardedModelAdmin, admin.ModelAdmin):
    pass

admin.site.unregister(Profile)
admin.site.register(Profile, ProfileAdmin)
